package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 角色
 */
@ApiModel(description = "角色")
public class SysRole {
	
	private Long				id;												// 主键 自增长
	private String				roleName;										// 角色名称
	private Integer				delFlag;										// 0:未删除 1:已删除
	private Integer				roleStatus;										// 是否冻结 0:未冰结 1已冻结
	private Integer				sort;											// 排序号
	private String				remark;											// 角色描述
	private Integer				createId;										// 操作人
	private String				createTime;										// 创建时间
	private Integer				updateId;										// 更新人
	private String				updateTime;										// 更新时间
	private String				roleNo;											// 角色编号JS0001
	
	public final static String	ROLE_UU_HEAD		= "JS";
	
	public final static String	ROLE_NO_INDEX_KEY	= "UQ_ROLE_ROLE_NO_INDEX";
	
	public final static Integer	ENABLE				= 0;						// 启用
	public final static Integer	DISABLE				= 1;						// 禁用
	
	public final static Integer	DEL_YES				= 1;						// 启用
	public final static Integer	DEL_NO				= 0;						// 禁用
	
	@ApiModelProperty(value = "主键 自增长")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "角色名称")
	public String getRoleName() {
		return roleName;
	}
	
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	@ApiModelProperty(value = "0:未删除 1:已删除")
	public Integer getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "是否冻结 0:未冰结 1已冻结")
	public Integer getRoleStatus() {
		return roleStatus;
	}
	
	public void setRoleStatus(Integer roleStatus) {
		this.roleStatus = roleStatus;
	}
	
	@ApiModelProperty(value = "排序号")
	public Integer getSort() {
		return sort;
	}
	
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	@ApiModelProperty(value = "角色描述")
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@ApiModelProperty(value = "操作人")
	public Integer getCreateId() {
		return createId;
	}
	
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@ApiModelProperty(value = "更新人")
	public Integer getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "角色编号JS0001")
	public String getRoleNo() {
		return roleNo;
	}
	
	public void setRoleNo(String roleNo) {
		this.roleNo = roleNo;
	}
}
